import "vant/lib/index.css";
import "./assets/main.css";
// import "amfe-flexible/index.js";
import { createApp } from "vue";

import { createPinia } from "pinia";
import Vconsole from "vconsole";

import App from "./App.vue";
import router from "./router";

const app = createApp(App);

if (process.env.NODE_ENV == "development") {
  const vConsole = new Vconsole();
  app.use(vConsole);
}
app.use(createPinia());
app.use(router);

app.mount("#app");
